"use strict";
module.exports = (app) => {
  const { INTEGER } = app.Sequelize;

  const SysRoleMenu = app.model.define("sys_role_menu", {
    roleId: {
      type: INTEGER,
      primaryKey: true,
      allowNull: false,
      comment: "角色id",
    },
    menuId: {
      type: INTEGER,
      primaryKey: true,
      allowNull: false,
      comment: "菜单ID",
    },
  });
  SysRoleMenu.associate = () => {};

  return SysRoleMenu;
};
